package com.blog.mapper;

import com.blog.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 * @author JiaFuJun
 * @version v1.0
 * @date 2020-05-13
 */
public interface UserMapper {

    int insert(User record);

    int update(User record);

    int del(Object id);

    User selectByPrimaryKey(Object id);

    List<User> selectByRecord(User record);

    User getByName(String userName);
}